Repository navigation
fix(opencode): guard Go leaf seating credentials and attempts (#5611) - #7566
Merged
Merged
Conversation
developing-today
Bot
requested review from
a team and
dezren39
as code owners
November 8, 2026 08:01
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
dezren39
force-pushed
the
queue/12739-5611-go-seating
branch
from
November 8, 2026 08:44
df9b15b to
463df4d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #5611
Implements the Go instance seating guard from task 12739 (resumed from the prior attempt's pushed branch at df9b15b; implementation was already complete and pushed, PR creation was blocked by the user-token secondary rate limit, so this PR is opened via the developing.today GitHub App route).
What it adds:
bin/check-opencode-go-seating.mjs— registration/seating check for opencode-go.* leaves: before seating, asserts a credential row exists under the exact instance integration_id with active=1 (not the bareopencodekey), and asserts a successful route attempt for the leaf within a bounded window after seating; fails loudly otherwise.bin/check-opencode-go-seating.test.mjs— regression tests covering the popesdrew failure shape (credential stored under the bare console-login key while pool config was correct), inactive exact-id rows, attempt-window edges, and pre-seat registration checks.Tests:
node --test bin/check-opencode-go-seating.test.mjson the laptop — 14/14 pass (verified 2026-11-08 by lane code-a).Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.